package com.houtai.dao;


import com.houtai.bean.dto.black.TdBlackDetailDto;
import com.houtai.bean.dto.black.TdBlackListDto;
import com.houtai.bean.vo.black.TdBlackDetail;
import com.houtai.bean.vo.black.TdBlackList;
import com.houtai.bean.vo.black.UserIndexBlackList;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TdBlackDao {
    /**
     * @Purpose   查找黑名单列表
     * @param     TdBlackListDto
     * @version   1.0
     * @author    李准
     * @time      2017-08-19
     * @return    List<TdBlackList>
     */
    List<TdBlackList> findTdBlackList(TdBlackListDto TdBlackListDto);
    /**
     * @Purpose   查找黑名单详情
     * @param     tdBlackDetailDto
     * @version   1.0
     * @author    李准
     * @time      2017-08-19
     * @return   TdBlackDetail
     */
    TdBlackDetail findTdBlackDetail(TdBlackDetailDto tdBlackDetailDto);
    /**
     * @Purpose   查找黑名单列表
     * @param     black_type
     * @version   1.0
     * @author    李准
     * @time      2017-08-19
     * @return    List<TdBlackList>
     */
    List<UserIndexBlackList> findUserIndexBlackList(@Param("black_type")int black_type,
                                             @Param("black_object_id")int black_object_id);
}
